package net.roobook.cms.modules.admin.controller;

import net.roobook.cms.common.annotation.Log;
import net.roobook.cms.common.web.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author cos
 * @email 327878610@qq.com
 * @link https://roobook.net
 * @Description TODO
 * @date 2023/9/22 15:05
 **/
@Controller
@RequestMapping("/admin/dashboard")
public class DashboardController extends BaseController {
    @Log(operType = Log.OperatorType.PAGE, module = "仪表盘", content = "仪表盘首页跳转")
    @RequestMapping("/toIndex")
    public ModelAndView index() {
        ModelAndView mv = new ModelAndView();
        mv.setViewName("admin/dashboard/index");
        return mv;
    }
}
